package com.thirteen.app.controller;//package com.thirteen.app.controller;
//
//import com.thirteen.app.service.AnswerService;
//import com.thirteen.app.utils.tools.CommonResult;
//import io.swagger.annotations.Api;
//import org.springframework.web.bind.annotation.CrossOrigin;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import springfox.documentation.oas.annotations.EnableOpenApi;
//
//import javax.annotation.Resource;
//
//
//@CrossOrigin
//@Api(tags = "答案管理模块")
//@EnableOpenApi
//@RestController
//@RequestMapping("answer")
//public class AnswerController {
//
//    @Resource
//    private AnswerService answerService;
//
//    @PostMapping("update")
//    public CommonResult update(Integer solutionId, Boolean isRight, String content, String tag) {
//        return CommonResult.success(answerService.update(solutionId, isRight, content, tag));
//    }
//
//    @PostMapping("delete")
//    public CommonResult delete(Integer solutionId) {
//        return CommonResult.success(answerService.delete(solutionId));
//    }
//
//}
